package com.accenture.portal.dao.book;

import java.util.List;

import com.accenture.portal.model.book.BookBorrow;

public interface BookBorrowMapper
{
	public void borrowBook(BookBorrow bookBorrow);

	public void returnBook(BookBorrow bookBorrow);

	public List<BookBorrow> listBookByUserId(int borrowReaderid);
	
	public int getBookCountByUserId(int borrowReaderid);
	
	public BookBorrow findBorrowById(int borrowId);
	
	public List<BookBorrow> showBorrowByBook(int borrowBookid);
	
	public Integer findBorrowId(Integer borrowBookid,Integer borrowReaderid);
}
